package cn.bmbanjia.zebra2024.apps.meituanMiniApp.user.entity;

import cn.bmbanjia.zebra2024.mybatisflex.BaseEntity;
import cn.bmbanjia.zebra2024.mybatisflex.InsertOrUpdateListener;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * 美团小程序用户 实体类。
 *
 * @author fugui
 * @since 2024-06-15
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@Table(value = "bm_meituan_mini_app_user", onInsert = InsertOrUpdateListener.class, onUpdate = InsertOrUpdateListener.class)
public class MeituanMiniAppUser extends BaseEntity implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Integer userId;

    private String userOpenid;

    private String userNickName;

    private String userHeadUrl;

    private String userUnionid;

    private String userMobile;

}
